<?php 
if (! defined('BASEPATH')) {
	exit('Access Denied');
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>病例录入</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>/static/css/admin/base.css">
<script src="<?php echo base_url();?>/static/js/jquery.js" language="javascript"></script>

<script src="<?php echo base_url();?>/static/js/validate/validator.js" language="javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
//提交
$("#btnSave").click(function(){
    if($("form").Valid() == false || !$("#newform").Valid()) return false;
});

});
</script>
</head>
<body leftmargin="8" topmargin="8">
<div class="nav_des">
<span class="des">病例>></span>
<a href="<?php echo site_url("admin/upload/index/uploadfile");?>" class="nav_des_hover">病例录入</a>
<a href="<?php echo site_url("admin/upload/index/filelist");?>">病例管理</a>
</div>

<!--  内容列表   -->
<?php echo form_open_multipart('admin/upload/index/uploadfile');?>
<!-- <form name="form2" method="post" name="" action="<?php echo form_open_multipart('admin/upload/index/uploadfile');?>" id="newform">
-->
<input type="hidden" value="do" name="action">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7">
	<td height="24" colspan="" >&nbsp;病例录入&nbsp;</td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="32">
	<td >病例名称:<input type="text" name="filename" class="form_input"  required="true" errmsg="请输入3-16个字符" tip="请输入3-16个字符"> </td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="32">
	<td >病例影像文件:<input type="file" name="path" class="form_input" ></td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="32">
	<td >病例影像图片:<input type="file" name="image" class="form_input" ></td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="32">
	<td >详细说明:
	<textarea style="width:500px ; height:150px" name="remark"></textarea>备注：请填写此病例的详细说明
</tr>
<tr align="" bgcolor="#FAFAF1" height="32">
	<td >状&nbsp;&nbsp;态:
		<select name="status" style="width:300px">
			<option value="1">开启</option>
			<option value="0">关闭</option>
		</select>
	</td>
</tr>

<tr bgcolor="#FAFAF1">
<td height="28" colspan="">
	&nbsp;

	<input type="submit" value="提&nbsp;&nbsp;交" class="coolbg" id='btnSave'>
</td>
</tr>

</table>

</form>

</body>
</html>